package com.ll.demo1.bytecode;

import java.util.Arrays;
import java.util.List;

/**
 * @description:
 * @author: LiuLei
 * @create: 2024-09-27
 **/
public class ClassMethod extends Base implements A{
    int gg = 131212;
    public void test1(int a, String b){
        ClassMethod classMethod = specialTest();
        String value = classMethod.get222(a,b);
        String value1 = get222(1,b);
        print(a, value1);
        int  ddd = print1(a, value);
    }


    public ClassMethod specialTest(){
        ClassMethod classMethod = new ClassMethod();
        try {
            String ddddd = classMethod.get1(Arrays.asList("1"));
            String sqwer = get1(Arrays.asList(ddddd));
        }catch (Exception e){

        }

        super.test(1,2);
        test(1,2);
        return classMethod;
    }
    public String get222(int a, String b){
        return a+b;
    }
    public void get1111(long a, int b){
        System.out.println(a+b);
        String h = "1" + this.gg;
        String gg = "2" + this.getGg();
    }
    public static void print(int a,String b){
        System.out.println(a);
        System.out.println(b);
    }

    public static int print1(int a,String b){
        System.out.println(a);
        return a;
    }

    private String get1(List<String> data) throws Exception{
        return data.toString();
    }
    public String getfdaa(){
        A d = new ClassMethod();
        String a =  d.get("A","b",null,null);
        return null;
    }
    @Override
    public String get(String a, String b, List<String> c, int[] d) {
        return "aaa";
    }

    @Override
    public String toString() {
        return super.toString();
    }


    public int getGg() {
        return gg;
    }

    public void setGg(int gg) {
        this.gg = gg;
    }
}
